package cn.lczze.stock.util;

import java.util.Random;

public class CommentUtils {

    public static double getRandomScale(Integer min, Integer max) {
        Random random = new Random();
        double randomDouble = random.nextDouble();
        return Math.floor(randomDouble * (max - min + 1) + min) / 10;
    }

}
